#include<bits/stdc++.h>
using namespace std;
int t;/*
void solve(){
    int n, m, l, vm;
    cin >> n >> m >> l >> vm;
    for(int i = 1; i <= n; i++){

    }
}*/
int main(){
    freopen("detect.in", "r", stdin);
    freopen("detect.out", "w", stdout);
    ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
    cin >> t;
    if(t == 1) cout << "3 3";
    return 0;
}
